<?php
declare (strict_types = 1);

namespace app\api\model\v1;

use think\Model;

/**
 * @mixin \think\Model
 */
class ProjectType extends AppModel
{
    //项目样本点
    public function projectSample(){
        return $this->hasMany(ProjectSample::class,'project_type_id');
    }

    public function projectSecondLevel(){
        return $this->hasMany(ProjectSecondLevel::class,'project_type_id');
    }
}
